package com.meilai.project.entity.business.workbench;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meilai.project.core.bean.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 年度表
 * </p>
 *
 * @author haiYangXu
 * @since 2022-08-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("year")
@ApiModel(value = "Year对象", description = "年度表")
public class Year extends SuperEntity {

    @ApiModelProperty("年")
    private String year;

    @ApiModelProperty("1:上半年 2：下半年")
    private Integer type;

    @ApiModelProperty("目标（万元）")
    private BigDecimal target;
}
